#include <stdio.h>
char func111(int score1)
{
	if(score1 > 10)
	{
		return 'A';
	}
	else if(score1 > 20)
	{
		return 'B';
	}
	else if(score1 > 30)
	{
		return 'C';
	}
	else 
	{
		return 'D';
	}
}
void process(int n,char (*func)(int score))
{
	char temp = func(n);
	printf("%c\n",temp);
}
int main(void)
{
	char (*p)(int score2);
	p = func111;
	process(10,p);
	return 0;
}
